i = 1
while i < 9:
    j = 1
    while j < i:
        # \t(制表符--使打印内容整齐）
        print(f"{j}*{i}={j * i}\t", end="")
        j += 1
    i += 1
    print()
